import { createRouter, createWebHashHistory } from 'vue-router'

import HisIndex from '@/views/HisIndex.vue'
import HomeMedicalRecord from "@/views/HomeMedicalRecord.vue";

const routes = [
  {
    path: '/',
    name: 'HisIndex',
    component: HisIndex
  },
  {
    path: '/HomeMedicalRecord',
    name: 'HomeMedicalRecord',
    component: HomeMedicalRecord
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
